//
//  NetworkHandler.h
//  UI_homework15
//
//  Created by Eiwodetianna on 14-6-30.
//  Copyright (c) 2014年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^BLOCK)(id result);

@interface NetworkHandler : NSObject

@property (nonatomic, copy) BLOCK passValue;

- (void)getDataWithURLString:(NSString *)urlStr complention:(BLOCK)block;
+ (void)connectNetGetDataWithURLString:(NSString *)urlStr complention:(BLOCK)block;

- (void)getDataWithURLString:(NSString *)urlStr URLBodyString:(NSString *)bodyStr complention:(BLOCK)block;
+ (void)connectNetGetDataWithURLString:(NSString *)urlStr URLBodyString:(NSString *)bodyStr complention:(BLOCK)block;

@end
